﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lincolnwood.Foundation.Common.Data;

namespace Lincolnwood.Foundation.SermonLibrary
{
    [Serializable]
    public class BibleBook : EntityBase<short>
    {
        private string _name;
        private string _shortNames;
        private short _lastChapterNumber;
        private SermonLibrary.Testament _testament;

        private BibleBook()
        {
        }

        internal BibleBook(string name, string shortNames)
        {
            _name = name;
            _shortNames = shortNames;
        }

        public string Name
        {
            get
            {
                return _name;
            }
        }

        public string ShortNames
        {
            get
            {
                return _shortNames;
            }
        }

        public short LastChapterNumber
        {
            get
            {
                return _lastChapterNumber;
            }
        }

        public Testament Testament
        {
            get
            {
                return _testament;
            }
        }

    }
}
